package com.ch.dsms_backend.service;

import com.ch.dsms_backend.entity.GoodsType;
import org.springframework.ui.Model;

import java.util.List;

public interface TypeService {
    public String selectAllTypeByPage(Model model,int currentPage);
    public String delete(int id);
    public String addType(String typename);

    List<GoodsType> showAllTypes();
}
